<?php
if ($oPage->page_id === $this->iTopLevelSelectedPageId)
{
	
} 

$sHref = '/'.$oPage->page_name;

if ($oPage->page_name === null)
{
	$sHref = '/';
}

if ($sHref === '//')
{
	$sHref = '/';
}

?>
<li>
	<a href="<?php echo $sHref; ?>"><?php echo htmlspecialchars($oPage->page_menu_title); ?></a>
</li>